﻿namespace WMS6.Web.CrossdockServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.Runtime.Serialization;

    [Serializable, DebuggerStepThrough, GeneratedCode("System.Runtime.Serialization", "3.0.0.0"), DataContract(Name="OppOrderRuleDetailQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity")]
    public class OppOrderRuleDetailQueryEntity : BaseQuery
    {
        [OptionalField]
        private string CreatedByField;
        [OptionalField]
        private string CreatedDateField;
        [OptionalField]
        private string IsActiveField;
        [OptionalField]
        private string LineIDField;
        [OptionalField]
        private string OppOrderRuleIDField;
        [OptionalField]
        private string OppOrderStrategyField;
        [OptionalField]
        private string OrderDateEndDaysField;
        [OptionalField]
        private string OrderDateStartDaysField;
        [OptionalField]
        private string OrderTypeIncludeField;
        [OptionalField]
        private string PriorityFromField;
        [OptionalField]
        private string PriorityToField;
        [OptionalField]
        private string ReqShipDateEndDaysField;
        [OptionalField]
        private string ReqShipDateStartDaysField;
        [OptionalField]
        private string RowIDField;
        [OptionalField]
        private string UpdatedByField;
        [OptionalField]
        private string UpdatedDateField;
        [OptionalField]
        private string WhIDField;

        [DataMember]
        public string CreatedBy
        {
            get
            {
                return this.CreatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedByField, value))
                {
                    this.CreatedByField = value;
                    base.RaisePropertyChanged("CreatedBy");
                }
            }
        }

        [DataMember]
        public string CreatedDate
        {
            get
            {
                return this.CreatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedDateField, value))
                {
                    this.CreatedDateField = value;
                    base.RaisePropertyChanged("CreatedDate");
                }
            }
        }

        [DataMember]
        public string IsActive
        {
            get
            {
                return this.IsActiveField;
            }
            set
            {
                if (!object.ReferenceEquals(this.IsActiveField, value))
                {
                    this.IsActiveField = value;
                    base.RaisePropertyChanged("IsActive");
                }
            }
        }

        [DataMember]
        public string LineID
        {
            get
            {
                return this.LineIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LineIDField, value))
                {
                    this.LineIDField = value;
                    base.RaisePropertyChanged("LineID");
                }
            }
        }

        [DataMember]
        public string OppOrderRuleID
        {
            get
            {
                return this.OppOrderRuleIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.OppOrderRuleIDField, value))
                {
                    this.OppOrderRuleIDField = value;
                    base.RaisePropertyChanged("OppOrderRuleID");
                }
            }
        }

        [DataMember]
        public string OppOrderStrategy
        {
            get
            {
                return this.OppOrderStrategyField;
            }
            set
            {
                if (!object.ReferenceEquals(this.OppOrderStrategyField, value))
                {
                    this.OppOrderStrategyField = value;
                    base.RaisePropertyChanged("OppOrderStrategy");
                }
            }
        }

        [DataMember]
        public string OrderDateEndDays
        {
            get
            {
                return this.OrderDateEndDaysField;
            }
            set
            {
                if (!object.ReferenceEquals(this.OrderDateEndDaysField, value))
                {
                    this.OrderDateEndDaysField = value;
                    base.RaisePropertyChanged("OrderDateEndDays");
                }
            }
        }

        [DataMember]
        public string OrderDateStartDays
        {
            get
            {
                return this.OrderDateStartDaysField;
            }
            set
            {
                if (!object.ReferenceEquals(this.OrderDateStartDaysField, value))
                {
                    this.OrderDateStartDaysField = value;
                    base.RaisePropertyChanged("OrderDateStartDays");
                }
            }
        }

        [DataMember]
        public string OrderTypeInclude
        {
            get
            {
                return this.OrderTypeIncludeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.OrderTypeIncludeField, value))
                {
                    this.OrderTypeIncludeField = value;
                    base.RaisePropertyChanged("OrderTypeInclude");
                }
            }
        }

        [DataMember]
        public string PriorityFrom
        {
            get
            {
                return this.PriorityFromField;
            }
            set
            {
                if (!object.ReferenceEquals(this.PriorityFromField, value))
                {
                    this.PriorityFromField = value;
                    base.RaisePropertyChanged("PriorityFrom");
                }
            }
        }

        [DataMember]
        public string PriorityTo
        {
            get
            {
                return this.PriorityToField;
            }
            set
            {
                if (!object.ReferenceEquals(this.PriorityToField, value))
                {
                    this.PriorityToField = value;
                    base.RaisePropertyChanged("PriorityTo");
                }
            }
        }

        [DataMember]
        public string ReqShipDateEndDays
        {
            get
            {
                return this.ReqShipDateEndDaysField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ReqShipDateEndDaysField, value))
                {
                    this.ReqShipDateEndDaysField = value;
                    base.RaisePropertyChanged("ReqShipDateEndDays");
                }
            }
        }

        [DataMember]
        public string ReqShipDateStartDays
        {
            get
            {
                return this.ReqShipDateStartDaysField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ReqShipDateStartDaysField, value))
                {
                    this.ReqShipDateStartDaysField = value;
                    base.RaisePropertyChanged("ReqShipDateStartDays");
                }
            }
        }

        [DataMember]
        public string RowID
        {
            get
            {
                return this.RowIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RowIDField, value))
                {
                    this.RowIDField = value;
                    base.RaisePropertyChanged("RowID");
                }
            }
        }

        [DataMember]
        public string UpdatedBy
        {
            get
            {
                return this.UpdatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedByField, value))
                {
                    this.UpdatedByField = value;
                    base.RaisePropertyChanged("UpdatedBy");
                }
            }
        }

        [DataMember]
        public string UpdatedDate
        {
            get
            {
                return this.UpdatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedDateField, value))
                {
                    this.UpdatedDateField = value;
                    base.RaisePropertyChanged("UpdatedDate");
                }
            }
        }

        [DataMember]
        public string WhID
        {
            get
            {
                return this.WhIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WhIDField, value))
                {
                    this.WhIDField = value;
                    base.RaisePropertyChanged("WhID");
                }
            }
        }
    }
}

